package com.booklove.domain.query;

import com.booklove.constant.JudgeStateConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 继承了pageQuery类，方便进行代码扩展
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(description = "许愿分页参数")
public class WishbookQuery extends PageQuery {
    @ApiModelProperty("书名")
    private String name;

    @ApiModelProperty("ISBN")
    private String isbn;

    @ApiModelProperty("judgeState审核状态")
    private Integer judgeState = JudgeStateConstant.WAITING_JUDGE;// 默认值为等待审核

    @ApiModelProperty("UserId，属于的用户id")
    private Integer userId;
}
